Predicting Software Cohesion Metrics with Machine Learning Techniques
نویسندگان
چکیده
The cohesion value is one of the important factors used to evaluate software maintainability. However, measuring a relatively difficult issue when tracing source code manually. Although there are many static analysis tools, not every tool measures metric. user should apply different tools for metrics. In this study, besides use these we predicted values (LCOM2, TCC, LCC, and LSCC) with machine learning techniques (KNN, REPTree, multi-layer perceptron, linear regression (LR), support vector machine, random forest (RF)) solve them alternatively. We created two datasets utilizing open-source projects. According obtained results, LCOM2 TCC metrics, KNN algorithm provided best LCC LSCC REPTree was best. out all RF, had close performances each other, therefore any can be metric prediction.
منابع مشابه
Machine Learning Techniques to Predict Software Defect
Machine learning techniques have been dominating in the last two decades. The recently published comprehensive state-of-the-art review (Mohanty et al., 2010) justifies this issue. The ability of software quality models to accurately identify critical faulty components allows for the application of focused verification activities ranging from manual inspection to automated formal analysis method...
متن کاملPredicting Students' Performance In Distance Learning Using Machine Learning Techniques
The ability to predict a student’s performance could be useful in a great number of different ways associated with university-level distance learning. Students’ key demographic characteristics and their marks on a few written assignments can constitute the training set for a supervised machine learning algorithm. The learning algorithm could then be able to predict the performance of new studen...
متن کاملMachine Learning Techniques—Reductions Between Prediction Quality Metrics
Machine learning involves optimizing a loss function on unlabeled data points given examples of labeled data points, where the loss function measures the performance of a learning algorithm. We give an overview of techniques, called reductions, for converting a problem of minimizing one loss function into a problem of minimizing another, simpler loss function. This tutorial discusses how to cre...
متن کاملPersonality Recognition Applying Machine Learning Techniques on Source Code Metrics
Source code has become a data source of interest in the recent years. In the software industry is common the extraction of source code metrics, mainly for quality assurance purposes. In this paper source code metrics are used to consolidate programmers profiles with the purpose to identify different personality traits using machine learning algorithms. This work was done as part of the Personal...
متن کاملMachine Learning based on Software Metrics for Process Assessment
The improvement of the currently used processes and quality assurance mechanisms is an important part of software engineering. In our work, we apply machine learning techniques to metric data with the aim to provide techniques that improve the state of the art. Machine learning has the advantage of being unbiased, whereas experts instinctively use their intuition and expertise, which may be bia...
متن کاملذخیره در منابع من
با ذخیره ی این منبع در منابع من، دسترسی به آن را برای استفاده های بعدی آسان تر کنید
ژورنال
عنوان ژورنال: Applied sciences
سال: 2023
ISSN: ['2076-3417']
DOI: https://doi.org/10.3390/app13063722